package com.mes.cloud.api.dto.response.productpricegroup;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 产品价格组-产品关联
 * 
 * @author wxm
 * @version 2019-09-24 14:49:07
 * @email xiaomin.wu1@pactera.com
 */
@Data
@ApiModel("产品价格组-产品关联dto")
public class ProductPriceGroupProductProductDto implements Serializable{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键", required = false)
    private String id;

    @ApiModelProperty(value = "产品价格组ID", required = false)
    private String productPriceGroupId;

    @ApiModelProperty(value = "产品价格组", required = false)
    private String productPriceGroupName;

    @ApiModelProperty(value = "产品客户组", required = false)
    private String productCustomerGroupName;

    @ApiModelProperty(value = "产品ID", required = false)
    private String productId;

    @ApiModelProperty(value = "产品名称", required = false)
    private String productName;

    @ApiModelProperty(value = "产品编码", required = false)
    private String productCode;

    @ApiModelProperty(value = "产品规格", required = false)
    private String productSpecifications;

    @ApiModelProperty(value = "产品目录", required = false)
    private String productDirectory;

    @ApiModelProperty(value = "标准价格", required = false)
    private BigDecimal standardPrice;

    @ApiModelProperty(value = "标准进货价格", required = false)
    private BigDecimal standardPurchasePrice;

    @ApiModelProperty(value = "标准出货价格", required = false)
    private BigDecimal standardSellPrice;

    @ApiModelProperty(value = "有效开始时间", required = false)
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private Date effectiveStartDate;

    @ApiModelProperty(value = "有效结束时间", required = false)
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private Date effectiveEndDate;

    @ApiModelProperty(value = "创建人", required = false)
    private String createBy;

    @ApiModelProperty(value = "创建时间", required = false)
    private Date createTime;

    @ApiModelProperty(value = "修改人", required = false)
    private String updateBy;

    @ApiModelProperty(value = "修改时间", required = false)
    private Date updateTime;

    @ApiModelProperty(value = "创建人工号", required = false)
    private String createByNo;

    @ApiModelProperty(value = "修改人工号", required = false)
    private String updateByNo;
}
